/* 全局常用配置 */
body {
    margin: 0;
    height: 100vh;
    background-color: black;
}

.h-100{
    height: 100%;
}
.ml-2{
    margin-left: .4rem;
}
.mr-2{
    margin-right: .4rem;
}
.mt-2{
    margin-top: .4rem;
}
.bg-purple{
    height: 600px;
    background-color: rgb(188, 174, 202);
}
.bg-purple-light{
    background-color: rgb(188, 174, 202,0.6);
    height: 600px;
}

#app {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

}

.center-container {
    position: relative;
    width: 60rem;
    height: 50rem;
    background-color: rgba(159, 176, 223, 0.11);
    border: 1px solid rgba(128, 131, 179, 0.692);
    border-radius: 4px;
}

.center-container .title {
    width: 100%;
    text-align: center;
    position: absolute;
    top: -4rem;
    color: rgba(219, 214, 255, 0.932);
    font-size: 1.6rem;
    font-weight: 600;
}

.center-container .btn-list {
    width: 4rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    position: absolute;
    top: 0;

}

.btn-list.left {
    left: -4rem;
}

.btn-list.right {
    right: -4rem;
}

.btn-list .btn {
    margin: 0 0 1rem;
    opacity: 0.8;
    color: rgb(218, 249, 255);
    background-color: rgb(255, 255, 255, .2);
}

.content {
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
}

.content .top {
    padding: 2rem 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.content .top .res {
    width: 100%;
    min-height: 30px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.data {
    padding: 10px 30px;
}

.history {
    height: 21rem;
    margin: 0 1.6rem;
    overflow: auto
}


.fight-box{
    margin-top: 1rem;
    width: 100%;
    min-height: 600px;
    background-color: #999;
    border: #666;
}
.chessboard{
    background-color: #f0f0f0;
}
.chessboard .row{
    display:flex; 
    flex-direction: row;
    flex-wrap:wrap;
    width: 100%;
    justify-content: center;
    /* margin: 10px; ----多此一举*/

}
.chessboard .row.npc{
    flex-wrap: wrap-reverse;
}
.chessboard .row .item{
    width: 20%;
    height: 90px;
    border: 1px solid #666;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .6s;
}
.chessboard .row .item:hover{
    background-color: rgb(220, 244, 255);
}
.chessboard .row .item.active{
    background-color: rgb(255, 220, 220);
}
.firewall{
    height: 30px;
    justify-content: center;
    color: white;
    background:rgb(255, 146, 56);
}